<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge, chrome=1">
    <title>135编辑器</title>
    <style>
        html, body {
            padding: 0;
            margin: 0;
        }
        #editor135 {
            position: absolute;
            width: 100%;
            height: 100%;
            border: none;
            box-sizing: border-box;
        }
    </style>
</head>
<body>

<iframe id="editor135" src="https://www.135editor.com/simple_editor.html?callback=true&appkey="></iframe>

<script src="../internal.js?t=1458602018"></script>
<script>
    var editor135 = document.getElementById('editor135');

    window.onload = function () {
        setTimeout(function () {
            editor135.contentWindow.postMessage(editor.getContent(), '*');
        }, 3000);
    };
    document.addEventListener("mousewheel", function (event) {
        event.preventDefault();
        event.stopPropagation();
    });
    window.addEventListener('message', function (event) {
        if (typeof event.data !== 'string') {
            return;
        }
        editor.setContent(event.data);
        editor.fireEvent("catchRemoteImage");
        dialog.close();
    }, false);
</script>

</body>
</html>